package com.four.project.dao;

import com.four.project.pojo.Course;
import com.four.project.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author zyt
 * @create 2020/7/7 11:46
 */
@Mapper
public interface TeacherMapper {
    List<Teacher> findAllById(@Param("id") Integer id);

    Teacher selectMymessage(String name, String password);

    Integer courseCount(@Param("id")Integer id);

    Integer updateMyMessage(Teacher teacher);

    Integer addIdentity(Teacher teacher);
}
